package com.meituan.sdk.model.tuangouNg.atomgoods.productSpuUpdate;

import javax.validation.constraints.NotBlank;
import com.google.gson.annotations.SerializedName;
import javax.validation.constraints.NotNull;

/**
* <p data-diff-id="ct-diff-id-3a15d913-855b-4b29-aa1d-20983c1dfa5a">互斥逻辑为两组间的MutexElementDTO(SaleAttrOption/SideDish/AddOn)彼此互斥(叉乘)，比如第一组是A1,A2,第二组是B1,B2，代表A1B1,A1B2,A2B1,A2B2是不能选择的。【长度必须为2】</p>
* This file was automatically generated.
*/
public class PDcMutexElement {
    /**
    * <p data-diff-id="ct-diff-id-e0606003-215f-44bd-8cfd-778aa1fc8f73"><span style="color: #333">实体分组类型elementGroupType，必填，1-菜品SPU 2-加料SPU 3-餐盒SPU 4-加价属性 5-前台类目树 6-销售属性分组 7-销售属性 8-SKU</span></p>
    */
    @NotNull(message = "elementGroupType不能为空")
    @SerializedName("elementGroupType")
    private Integer elementGroupType;
    /**
    * <p data-diff-id="ct-diff-id-7d614bc8-29d4-4d69-af92-be72db4feb4d">实体分组id，必填，1-SaleAttr的saleAttrId, 2-SideDishGroup的sideDishGroupId, 3-AddOnGroup的addOnGroupId</p>
    */
    @NotBlank(message = "elementGroupId不能为空")
    @SerializedName("elementGroupId")
    private String elementGroupId;
    /**
    * <p data-diff-id="ct-diff-id-787effa5-be2b-4c51-9006-b0d137f4c5d8">实体id，必填，1-SaleAttrOption的saleAttrOptionId, 2-SideDish的sideDishId, 3-AddOn的addOnId</p>
    */
    @NotBlank(message = "elementId不能为空")
    @SerializedName("elementId")
    private String elementId;

    public Integer getElementGroupType() {
        return elementGroupType;
    }
    public void setElementGroupType(Integer elementGroupType) {
        this.elementGroupType = elementGroupType;
    }
    public String getElementGroupId() {
        return elementGroupId;
    }
    public void setElementGroupId(String elementGroupId) {
        this.elementGroupId = elementGroupId;
    }
    public String getElementId() {
        return elementId;
    }
    public void setElementId(String elementId) {
        this.elementId = elementId;
    }




    @Override
    public String toString() {
        return "PDcMutexElement{" + "elementGroupType=" + elementGroupType + "," + "elementGroupId=" + elementGroupId + "," + "elementId=" + elementId + "}";
    }
}
